a__first(0, X) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__from(X) → cons(mark(X), from(s(X)))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(from(X)) → a__from(mark(X))
mark(0) → 0
mark(nil) → nil
mark(s(X)) → s(mark(X))
mark(cons(X1, X2)) → cons(mark(X1), X2)
a__first(X1, X2) → first(X1, X2)
a__from(X) → from(X)
↳ QTRS
↳ DependencyPairsProof
a__first(0, X) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__from(X) → cons(mark(X), from(s(X)))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(from(X)) → a__from(mark(X))
mark(0) → 0
mark(nil) → nil
mark(s(X)) → s(mark(X))
mark(cons(X1, X2)) → cons(mark(X1), X2)
a__first(X1, X2) → first(X1, X2)
a__from(X) → from(X)
MARK(first(X1, X2)) → MARK(X1)
MARK(first(X1, X2)) → A__FIRST(mark(X1), mark(X2))
MARK(s(X)) → MARK(X)
MARK(first(X1, X2)) → MARK(X2)
MARK(from(X)) → MARK(X)
MARK(from(X)) → A__FROM(mark(X))
MARK(cons(X1, X2)) → MARK(X1)
A__FROM(X) → MARK(X)
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
a__first(0, X) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__from(X) → cons(mark(X), from(s(X)))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(from(X)) → a__from(mark(X))
mark(0) → 0
mark(nil) → nil
mark(s(X)) → s(mark(X))
mark(cons(X1, X2)) → cons(mark(X1), X2)
a__first(X1, X2) → first(X1, X2)
a__from(X) → from(X)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
MARK(first(X1, X2)) → MARK(X1)
MARK(first(X1, X2)) → A__FIRST(mark(X1), mark(X2))
MARK(s(X)) → MARK(X)
MARK(first(X1, X2)) → MARK(X2)
MARK(from(X)) → MARK(X)
MARK(from(X)) → A__FROM(mark(X))
MARK(cons(X1, X2)) → MARK(X1)
A__FROM(X) → MARK(X)
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
a__first(0, X) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__from(X) → cons(mark(X), from(s(X)))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(from(X)) → a__from(mark(X))
mark(0) → 0
mark(nil) → nil
mark(s(X)) → s(mark(X))
mark(cons(X1, X2)) → cons(mark(X1), X2)
a__first(X1, X2) → first(X1, X2)
a__from(X) → from(X)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
↳ QDP
↳ QDPOrderProof
MARK(first(X1, X2)) → A__FIRST(mark(X1), mark(X2))
MARK(first(X1, X2)) → MARK(X1)
MARK(s(X)) → MARK(X)
MARK(first(X1, X2)) → MARK(X2)
MARK(from(X)) → MARK(X)
MARK(from(X)) → A__FROM(mark(X))
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
A__FROM(X) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
a__first(0, X) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__from(X) → cons(mark(X), from(s(X)))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(from(X)) → a__from(mark(X))
mark(0) → 0
mark(nil) → nil
mark(s(X)) → s(mark(X))
mark(cons(X1, X2)) → cons(mark(X1), X2)
a__first(X1, X2) → first(X1, X2)
a__from(X) → from(X)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MARK(first(X1, X2)) → A__FIRST(mark(X1), mark(X2))
MARK(first(X1, X2)) → MARK(X1)
MARK(s(X)) → MARK(X)
MARK(first(X1, X2)) → MARK(X2)
MARK(from(X)) → MARK(X)
MARK(from(X)) → A__FROM(mark(X))
A__FIRST(s(X), cons(Y, Z)) → MARK(Y)
A__FROM(X) → MARK(X)
MARK(cons(X1, X2)) → MARK(X1)
[from1, afrom1] > s1 > AFIRST1
[from1, afrom1] > AFROM1 > AFIRST1
[from1, afrom1] > cons1 > [first2, afirst2] > [0, nil] > AFIRST1
from1: [1]
first2: [1,2]
afirst2: [1,2]
AFIRST1: multiset
afrom1: [1]
s1: [1]
AFROM1: multiset
0: multiset
cons1: multiset
nil: multiset
mark(0) → 0
a__from(X) → cons(mark(X), from(s(X)))
mark(nil) → nil
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
a__from(X) → from(X)
mark(s(X)) → s(mark(X))
a__first(X1, X2) → first(X1, X2)
a__first(0, X) → nil
mark(from(X)) → a__from(mark(X))
mark(cons(X1, X2)) → cons(mark(X1), X2)
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ EdgeDeletionProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
a__first(0, X) → nil
a__first(s(X), cons(Y, Z)) → cons(mark(Y), first(X, Z))
a__from(X) → cons(mark(X), from(s(X)))
mark(first(X1, X2)) → a__first(mark(X1), mark(X2))
mark(from(X)) → a__from(mark(X))
mark(0) → 0
mark(nil) → nil
mark(s(X)) → s(mark(X))
mark(cons(X1, X2)) → cons(mark(X1), X2)
a__first(X1, X2) → first(X1, X2)
a__from(X) → from(X)